public class Calculator {
//    定义一个类计算器,根据该类的属性去定义一个默认叫卡西欧,价格88.66,长度5,高度7,
//    颜色黑色
    public String logo;
    public double price;
    public double length;
    public double width;
    public String color;

    public Calculator(String logo, double price, double length, double width, String color) {
        this.logo = logo;
        this.price = price;
        this.length = length;
        this.width = width;
        this.color = color;
    }

    public Calculator() {
    }

    public static void main(String[] args) {
        Calculator calculator = new Calculator("卡西欧",88.66,5,7,"黑色");
        calculator.price = 55.55;
        System.out.println(calculator.logo);
        System.out.println(calculator.price);
        Calculator calculator1 = new Calculator();
        calculator1.logo="卡西欧";
        calculator1.price=88.66;

    }
}
